package com.nopay.dxdwphone.net.callback;

import android.content.Context;
import android.graphics.Bitmap;

import com.lzy.okgo.callback.BitmapCallback;
import com.lzy.okgo.request.base.Request;

/**
 * @author mobingui
 * @description:
 * @date :2021/9/23 0:24
 */
public abstract class CustomBitmapCallback extends BitmapCallback {

    private Context mActivity;

    public CustomBitmapCallback(Context activity) {
        this.mActivity = activity;
    }

    @Override
    public void onStart(Request<Bitmap, ? extends Request> request) {
        super.onStart(request);
//        request.headers("access_token", PreferenceUtils.getString(mActivity, "token"));
//        LogUtils.e("access_token = " + PreferenceUtils.getString(mActivity, "token"));
    }
}
